package org.cupk2.luser.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NoArgsConstructor;

/**组织机构 
 */
@Data
@NoArgsConstructor
public class LocalOrgDto {

    private String id;
    @NotBlank(message = "{cupk2.validate.template.notnull}")
    @Size(min = 0, max = 64, message = "{cupk2.validate.template.size}")
    private String name;
   
    private String ctime;

    private String code;
   
    private String etime;
   
    private String euserkey;
   
    private String cuserkey;
   
    private String state;
   
    @Size(min = 0, max = 4096, message = "{cupk2.validate.template.size}")
    private String note;
   
    private Integer sortcode;
   
    private String parentid;
    private String treecode;
}